<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>编辑页</title>
    <link rel="stylesheet" href="../css/bootstrap.css">
    <script src="../js/jquery-3.2.1.js"></script>
    <style>
        #btn{
            margin: 20px auto;
        }
        span{
            font-size: 30px;
            font-weight: 800;
        }
    </style>
</head>
<body>
<h1>添加博客</h1>
<div class="container">
    <form action="/addcontent" method="post">
    <div class="row">
        <div class="col-md-3">
            <span>标题</span>
        </div>
        <div class="col-md-9">
            <input type="text" class="form-control" name="title" placeholder="标题">
        </div>
    </div>

    <hr>

    <div class="row">
        <div class="col-md-3">
            <span>简介</span>
        </div>
        <div class="col-md-9">
            <input type="text" class="form-control" name="des" placeholder="请简要描述一下微博内容">
        </div>
    </div>

    <hr>

    <div class="row">
        <div class="col-md-3">
            <span>正文</span>
        </div>
        <div class="col-md-9">
            <textarea class="form-control" name="content" rows="10"></textarea>
        </div>
    </div>

    <hr>

    <div class="row" id="btn">
        <div class="btn-group" role="group">
            <button type="submit" class="btn btn-default">提交</button>
        </div>
        <div class="btn-group" role="group">
            <button type="button" class="btn btn-default"><a href="/home">返回</a></button>
        </div>
    </div>
    </form>
</div>

</body>
</html>